package com.tdd.zkconfig.utils;

import org.I0Itec.zkclient.ZkClient;

/**
 * @author tudedong
 * @description ZkClient工具类
 * @date 2020-06-14 14:44:33
 */
public class ZkClientUtils {

    private static ZkClient zkClient ;

    private ZkClientUtils(){};

    public static ZkClient getZkClient() {
        if(zkClient == null){
            zkClient = new ZkClient("47.101.41.95:2181");
        }
        return zkClient;
    }

}
